
.panel.panel-default
  .panel-heading

  .panel-body

     = simple_form_for(@customer_review, html: {class: 'form-vertical', novalidate: true}, wrapper: :vertical_form) do |o|
        .row
          .col-md-3
            = o.input :aa, label: '车牌号', disabled: true, input_html: { value: "#{@customer_review.customer.car_num}"  }
            = o.input :aa, label: '客户姓名', disabled: true, input_html: { value: "#{@customer_review.customer.name}"  }
            = o.input :aa, label: '客户级别', disabled: true, input_html: { value: "#{@customer_review.customer.customer_level.name}"  }
          .col-md-3
            = o.input :aa, label: '电话', disabled: true, input_html: { value: "#{@customer_review.customer.name}"  }
            = o.input :aa, label: '车型', disabled: true, input_html: {value: "#{@customer_review.customer.car_brand.name rescue ""}/#{@customer_review.customer.car_model.name rescue ""}"}
            = o.input :aa, label: '最近来厂日', disabled: true, input_html: { value: "#{@customer_review.customer.last_cf_date}"  }
              
          .col-md-3
            = o.input :plan_review, label: '计划回访日',  as: :date, html5: true
            = o.input :review_times, label: '回访次数'
            = o.input :task_type, label: '任务类型', collection: ["服务回访", "客户关怀回访", "客户调查回访","营销回访"]
        br    
        .row
            = o.button :submit, "保存", :class => 'btn-success btn-xs', :style =>'margin-left:15px'